package com.yida.gwj.expend.outside.domain.dto;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 公维金资金申请业务信息DTO
 *
 * @author liangp
 * @date 2023-02-08
 */

@ApiModel(description = "公维金资金申请业务信息列表响应参数")
public class GwjMaintenanceFundsBusinessListDTO {

    @ApiModelProperty(value = "主键")
    private Long bizId;

    @ApiModelProperty(value = "业务编码")
    private Long bizNum;

    @ApiModelProperty(value = "业务名称")
    private String bizName;

    @ApiModelProperty(name = "文件业务标识")
    private String serverIdentification;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "业务状态  1:正常，2:退件，3:完结")
    private Integer status;

    @ApiModelProperty(value = "是否显示二次补件信息 0.否 1.是")
    private Integer supplementFlag;

    @ApiModelProperty(value = "流程ID")
    private Long flowId;

    @ApiModelProperty(value = "申请单位名称")
    private String applicationUnitName;

    // @ApiModelProperty(value = "业务小类")
    @ApiModelProperty(value = "业务细类")
    private String flowName;

    @ApiModelProperty(value = "步骤名称")
    private String stepName;

    @ApiModelProperty(value = "当前申请人员ID")
    private String applicantUserId;

    @ApiModelProperty(value = "当前申请人员名称")
    private String applicantUserName;

    @ApiModelProperty(value = "当前办事人员ID")
    private String currentOperId;

    @ApiModelProperty(value = "当前办事人员名称")
    private String currentOperName;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
    private LocalDateTime applicantTime;

    @ApiModelProperty(value = "业务状态(用于展示)  0:正常 1:回退 2:完结 3:作废 4:退件")
    private String serverStatus;

    @ApiModelProperty(value = "业务标识表ID")
    private Long bizFlagId;

    @ApiModelProperty(value = "步骤ID")
    private Long stepId;

    @ApiModelProperty("拨款方式 1：一次拨付；2：二次拨付")
    private Integer appropriationWay;

    // 业务小类Id
    private Long flagId;

    // 业务小类
    private String flagName;

    public Integer getAppropriationWay() {
        return appropriationWay;
    }

    public void setAppropriationWay(Integer appropriationWay) {
        this.appropriationWay = appropriationWay;
    }

    public Long getStepId() {
        return stepId;
    }

    public void setStepId(Long stepId) {
        this.stepId = stepId;
    }

    public Long getBizFlagId() {
        return bizFlagId;
    }

    public void setBizFlagId(Long bizFlagId) {
        this.bizFlagId = bizFlagId;
    }

    public String getServerStatus() {
        return serverStatus;
    }

    public void setServerStatus(String serverStatus) {
        this.serverStatus = serverStatus;
    }

    public String getCurrentOperId() {
        return currentOperId;
    }

    public void setCurrentOperId(String currentOperId) {
        this.currentOperId = currentOperId;
    }

    public String getCurrentOperName() {
        return currentOperName;
    }

    public void setCurrentOperName(String currentOperName) {
        this.currentOperName = currentOperName;
    }

    public Integer getSupplementFlag() {
        return supplementFlag;
    }

    public void setSupplementFlag(Integer supplementFlag) {
        this.supplementFlag = supplementFlag;
    }

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public Long getBizNum() {
        return bizNum;
    }

    public void setBizNum(Long bizNum) {
        this.bizNum = bizNum;
    }

    public String getBizName() {
        return bizName;
    }

    public void setBizName(String bizName) {
        this.bizName = bizName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getFlowId() {
        return flowId;
    }

    public void setFlowId(Long flowId) {
        this.flowId = flowId;
    }

    public String getApplicationUnitName() {
        return applicationUnitName;
    }

    public void setApplicationUnitName(String applicationUnitName) {
        this.applicationUnitName = applicationUnitName;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public LocalDateTime getApplicantTime() {
        return applicantTime;
    }

    public void setApplicantTime(LocalDateTime applicantTime) {
        this.applicantTime = applicantTime;
    }

    public String getServerIdentification() {
        return serverIdentification;
    }

    public void setServerIdentification(String serverIdentification) {
        this.serverIdentification = serverIdentification;
    }

    public String getApplicantUserId() {
        return applicantUserId;
    }

    public void setApplicantUserId(String applicantUserId) {
        this.applicantUserId = applicantUserId;
    }

    public String getApplicantUserName() {
        return applicantUserName;
    }

    public void setApplicantUserName(String applicantUserName) {
        this.applicantUserName = applicantUserName;
    }

    public Long getFlagId() {
        return flagId;
    }

    public void setFlagId(Long flagId) {
        this.flagId = flagId;
    }

    public String getFlagName() {
        return flagName;
    }

    public void setFlagName(String flagName) {
        this.flagName = flagName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("GwjMaintenanceFundsBusinessListDTO{");
        sb.append("bizId=").append(bizId);
        sb.append(", bizNum=").append(bizNum);
        sb.append(", bizName='").append(bizName).append('\'');
        sb.append(", serverIdentification='").append(serverIdentification).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", status=").append(status);
        sb.append(", supplementFlag=").append(supplementFlag);
        sb.append(", flowId=").append(flowId);
        sb.append(", applicationUnitName='").append(applicationUnitName).append('\'');
        sb.append(", flowName='").append(flowName).append('\'');
        sb.append(", stepName='").append(stepName).append('\'');
        sb.append(", applicantUserId='").append(applicantUserId).append('\'');
        sb.append(", applicantUserName='").append(applicantUserName).append('\'');
        sb.append(", currentOperId='").append(currentOperId).append('\'');
        sb.append(", currentOperName='").append(currentOperName).append('\'');
        sb.append(", applicantTime=").append(applicantTime);
        sb.append(", serverStatus='").append(serverStatus).append('\'');
        sb.append(", bizFlagId=").append(bizFlagId);
        sb.append(", stepId=").append(stepId);
        sb.append('}');
        return sb.toString();
    }
}
